<!doctype html>
<html>
<head>
   <meta charset="utf-8">
   <title>选择表格</title>
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <link rel="stylesheet" type="text/css" href="{{url_for('static',filename='bootstrap.min.css')}}">
   <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
   <link rel="stylesheet" type="text/css" href="{{url_for('static',filename='bootstrap-datetimepicker.min.css')}}">
   <script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
   <script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
   <script type="text/javascript" src="/static/bootstrap-datetimepicker.js" charset="UTF-8"></script>
   <script type="text/javascript" src="/static/bootstrap-datetimepicker.fr.js" charset="UTF-8"></script>

</head>
<body>
    <script>
  window.console = window.console || function(t) {};
</script>
<div class="page">
    <h2 class="form-signin-heading">Choose one</h2>
    {% if error %}<p class="error"><strong>Error:</strong>{{error}}{%endif%}
    <form action="{{url_for('choose3')}}" method="post" role="form">


   <div class="form-group">

      
                     <div>
                     <input type="hidden" id="dtp_input2" value="" /><br/>
                     </div>
                    <div class="controls input-append date form_datestart" data-date="" data-date-format="yyyymmdd" data-link-field="dtp_input2" data-link-format="yyyymmdd" >
                        <input class="form-control" type="text" placeholder="起始日期" name="start" readonly>
                        <span class="add-on"><i class="icon-remove"></i></span>
                        <span class="add-on"><i class="icon-th"></i></span>
                    </div>
                     <div>
                     <input type="hidden" id="dtp_input2" value="" /><br/>
                     </div>

                    <div class="controls input-append date form_dateend" data-date="" data-date-format="yyyymmdd" data-link-field="dtp_input3" data-link-format="yyyymmdd">
                        <input class="form-control" type="text" placeholder="结束日期" name="end" readonly>
                        <span class="add-on"><i class="icon-remove"></i></span>
                        <span class="add-on"><i class="icon-th"></i></span>
                    </div>

                         <div>
                     <input type="hidden" id="dtp_input2" value="" /><br/>
                     </div>
   </div>
    

   <div class="form-group">
      <div class="col-xs-6 col-md-offset-3">
         <button type="submit" class="btn btn-lg btn-primary btn-block" >提交</button>

      </div>
   </div>


    </form>
<script type="text/javascript">
	$('.form_datestart').datetimepicker({
        language:  'zh-CN',
        format:"yyyymmdd",
        initialDate: '2015-10-16',
        weekStart: 1,
        todayBtn:  1,
		autoclose: 1,
		todayHighlight: 1,
		startView: 2,
		minView: 2,
		forceParse: 0,
        
       
    });
	$('.form_dateend').datetimepicker({
        language:  'zh-CN',
        weekStart: 1,
        todayBtn:  1,
		autoclose: 1,
		todayHighlight: 1,
		startView: 2,
		minView: 2,
		forceParse: 0
    });

</script>
        <script>
        
  if (document.location.search.match(/type=embed/gi)) {
    window.parent.postMessage("resize", "*");
  }
</script>
</div>
</body>
</html>
